import java.awt.*;

public class SHAFIQSIDEK_Cell
{
    private int x,y,xMin,yMin;
    private boolean isColored;
    
    public SHAFIQSIDEK_Cell()
    {
        isColored=false;
        setCoordinates(x,y);
        xMin=x*5;
        yMin=y*5;
    }
    public SHAFIQSIDEK_Cell(int x,int y,boolean isColored)
    {
        this.isColored=isColored;
        setCoordinates(x,y);
        xMin=x*5;
        yMin=y*5;
    }
    public SHAFIQSIDEK_Cell(int x,int y)
    {
        setCoordinates(x,y);
        xMin=x*5;
        yMin=y*5;
    }
    
    public boolean getLife()
    {
        return isColored;
    }
    public void setCoordinates(int coorX, int coorY)
    {
        this.x=coorX/6;
        this.y=coorY/6;
    }
    public int getX()
    {
        return x;
    }
    public int getY()
    {
        return y;
    }
    public int getXMin()
    {
        return xMin;
    }
    public int getYMin()
    {
        return yMin;
    }
    public void setLife(boolean isColored)
    {
        this.isColored=isColored;
    }
}